package org.jeecg.modules.erp.base.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.erp.base.entity.ErpGoodsIngredientsReplaceInfo;

import java.util.List;

/**
 * @Description: 原料替代品管理明细表
 * @Author: jeecg-boot
 * @Date:   2024-05-24
 * @Version: V1.0
 */
public interface IErpGoodsIngredientsReplaceInfoService extends IService<ErpGoodsIngredientsReplaceInfo> {

	/**
	 * 通过主表id查询子表数据
	 *
	 * @param mainId 主表id
	 * @return List<ErpGoodsIngredientsReplaceInfo>
	 */
	public List<ErpGoodsIngredientsReplaceInfo> selectByMainId(String mainId);

	void saveMain(ErpGoodsIngredientsReplaceInfo info);
}
